﻿namespace Pp.Domain.Mappings
{
    using Model;

    public sealed class LikeMap : EntityMap<Like>
    {
        public LikeMap()
        {
            DiscriminateSubClassesOnColumn("Type");
            References(d => d.Processor, "ProcessorId").LazyLoad();
            Map(d => d.IsShowed);
        }
    }
}